/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.enrstu.service;

import me.zhengjie.modules.enrstu.domain.ChildrenInformation;
import me.zhengjie.modules.enrstu.service.dto.*;
import me.zhengjie.utils.PageResult;
import org.springframework.data.domain.Pageable;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
* @website https://eladmin.vip
* @description 儿童信息-服务接口
* @author yyx
* @date 2024-11-01
**/
public interface ChildrenInformationService {

    /**
     * 根据id查询儿童信息
     * @param id 儿童id
     * @return /
     */
    ChildrenInformationDto findById(String id);

    /**
    * 创建
    * @param resources /
    */
    ChildrenInformation create(ChildrenInformation resources,Boolean isSubmit);

    /**
    * 编辑
    * @param resources /
    */
    void update(SignUpChildrenInfoCreateOrUpdate resources,Boolean isSubmit);
    void update(ChildrenInformation resources);

    /**
     * 根据客户id查询
     * @param cliId /
     * @return /
     */
    List<ChildrenInformationDto> findByCliId(String cliId);
}